<template>
    <el-config-provider :locale="locale" :i18n="$i18n.t">
        <router-view />
    </el-config-provider>
</template>

<script>
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

export default {
    components: {
      ElConfigProvider,
    },
    setup() {
      return {
        locale: zhCn,
      }
    },
};
</script>

<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;

    width: 100%;
    height: 100%;

    background: #fff;
    /* border-radius: 10px;
    overflow: hidden; */

    -webkit-app-region: drag;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;

    background: transparent;

    -webkit-user-select: none; /* Chrome、Safari */  
    -moz-user-select: none; /* Firefox */  
    -ms-user-select: none; /* IE 10+ */  
    user-select: none; /* 标准语法 */  
}

img {
  -webkit-user-drag: none; /* Safari */
  -khtml-user-drag: none; /* Konqueror HTML */
  -moz-user-drag: none; /* Old versions of Firefox */
  -o-user-drag: none; /* Old versions of Opera */
  user-drag: none;
}
</style>
